﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Admin.NET.Application.Request;

/// <summary>
/// 轮播图请求类
/// </summary>
public class BannerRequest
{
    /// <summary>
    /// 轮播图标题
    /// </summary>
    public string Title { get; set; }

    /// <summary>
    /// 轮播图副标题
    /// </summary>
    public string SubTitle { get; set; }

    /// <summary>
    /// 轮播图图片地址（URL）
    /// </summary>
    public string ImageUrl { get; set; }

    /// <summary>
    /// 点击跳转链接地址
    /// </summary>
    public string LinkUrl { get; set; }

    /// <summary>
    /// 排序权重，用于控制展示顺序（数值越小越靠前）
    /// </summary>
    public int OrderNum { get; set; }

    /// <summary>
    /// 是否启用该轮播图
    /// </summary>
    public bool IsEnabled { get; set; }

    /// <summary>
    /// 是否为移动端专用
    /// </summary>
    public bool IsMobileOnly { get; set; }

    /// <summary>
    /// 轮播图生效开始时间
    /// </summary>
    public DateTime? StartTime { get; set; }

    /// <summary>
    /// 轮播图生效结束时间
    /// </summary>
    public DateTime? EndTime { get; set; }
    /// <summary>
    /// 轮播图ID
    /// </summary>
    public string Id { get;   set; }

    /// <summary>
    /// 轮播图描述
    /// </summary> 
    public string Description { get; set; }
}
